package com.example.canhui01li.myapprxretrofitdagger;

import com.lch.base.http.config.CacheProvide;
import com.lch.base.http.annotation.APIHeader;
import com.lch.base.http.annotation.APIPath;
import com.lch.base.http.annotation.APIReq;
import com.lch.base.http.model.params.BaseParam;

/**
 * @author lee
 * @version 1.0 on 17/12/9.
 */

public class TestGetParams extends BaseParam {
    //---url替换参数
    @APIPath(name = "APIPathCustomName")
    public String urlPath = "urlPathRepelce";

    //-------头部请求参数
    @APIHeader(name = CacheProvide.CACHE_TIME) //超时时间
    public int cacheTime = 5;


    @APIHeader(name = "APIHeaderCustomName")
    public String userAgent = "123321";

    @APIHeader
    public String headerString = "我是中文头部";

    //-------req请求参数

    @APIReq(name = "APIReqCustomName")
    public String urlReqString = "我是中文req";

    public String account = "123@qq.com";
    public String password = "123456";


    //------APIMulti请求参数

    //---APIIgnore不显示参数
//    @APIIgnore
    public String goneParmas = "我是不显示的参数";

}
